package com.example.forumadminbackend.mapper;

import com.example.forumadminbackend.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdminMapper {
    Admin selectByUsername(@Param("username") String username);
    Admin selectById(@Param("adminId") String adminId);
    int insert(Admin admin);
} 